package com.weic.mapper;

import com.weic.pojo.Emp;

import java.util.List;
import java.util.Map;

public interface EmpMapper2 {

    int addEmp(Emp emp);

    int updateEmp(Emp emp);

    int deleteEmp(int empno);

    Emp findOne(int empno);

    List<Emp>findAll();

    Map<Integer,Emp> findEmpMap();

    List<Emp> selectByName(String ename);

    List<Emp> selectByCond(Emp cond);

    int updateEmp2(Emp emp);

    List<Emp> selectInCond(List<Integer> array);
}
